function [Woptim, WCostO] = approach2(Y, X, n, MAXIT, alpha, lambda)
%approach2 

if(size(X,1) > n)
    [FY, F] = featuresConcatenation(Y, X, n);

    [Woptim, WCostO] = linearRegressionModel(F, FY, MAXIT, alpha, lambda);
else
    Woptim = nan;
    WCostO = nan;

end;

end

